#ifndef __HELICOPTER_H
#define __HELICOPTER_H

#include "entity.h"

class CPlayer;

class Helicopter : public CEntity
{
protected:
	void OnCollision(CObject *collisionObject);
	void OnPrepare();

public:
	Helicopter() 
	{ 
		Load(); 
		start = clock(); 
		isHelicopterPlaying = false;
		isHelicopterMedPlaying = false;
		isHelicopterLowPlaying = false;
	}
	Helicopter(float x, float z) { position.x = x; position.z = z; scale = 10; start = clock(); Load(); }
	~Helicopter() {}

	void Load();

	CPlayer* player;	//  to get distance from player
	clock_t start;		// for timing purposes
	bool isHelicopterPlaying;
	bool isHelicopterMedPlaying;
	bool isHelicopterLowPlaying;


	void Helicopter::OnDraw(CCamera *camera);
};


#endif